package com.cd.cms.common.utils;
/**
 * html转义工具类
 * @author Administrator
 *
 */
public class TransferredUtils {
	public static String Transferred(String dangerous) {
		dangerous = dangerous.replaceAll("&amp;" , "&" );
		dangerous = dangerous.replaceAll("&quot;", "\"");
		dangerous = dangerous.replaceAll("&apos;" , "'");
		dangerous = dangerous.replaceAll("&lt;" , "<");
		dangerous = dangerous.replaceAll("&gt;" , ">");
		return dangerous;
	}
}
